/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javatest.nested;

/**
 *
 * @author ivan
 */
public class Genius {

    public Genius.Playable.Runnable.Singable getGPRS() {
        return this.new Playable().new Runnable().new Singable();
    }

    public class Playable extends Player {

        public Playable getPlayable() {
            return new Playable();
        }

        public class Runnable extends Runner {

            public class Singable extends Singer implements GPRS {

                public void make() {
                    sing();
                    play();
                    runThere();
                }
            }
        }
    }

    public interface GPRS {

        public void make();
    }
}
